package com.dhgate.spu.analysis.consts;

import java.util.HashSet;
import java.util.Set;

/**
 * @author: wangguodong
 * @create: 2014-2-14 下午4:38:25
 * @description:
 */
public class CommonConsts {

	public static class FieldName {
		public static final String BRAND_ID    	     = "brandid";
	}

	public static class ExtFieldName {
		public static final String MODEL        	 = "model";
		public static final String CHIP_MODEL        = "chipmodel";
		
		public static final String SPU_STANDARD_ID   = "spustandardid";//spu标准
		public static final String SPU_UNIQUE_KEY    = "spuuniquekey";////attrId1:attrVal1,attrVal2;attrId2:attrVal1,attrVal2|extfiled1,extfiled2
		public static final String ERROR    	     = "error";
	}


	public static class RamValue {
		public static final Set<String> GB_RAM_SET = new HashSet<String>();
		public static final Set<String> MB_RAM_SET = new HashSet<String>();

		static {
			GB_RAM_SET.add("1");
			GB_RAM_SET.add("2");
			GB_RAM_SET.add("4");

			MB_RAM_SET.add("128");
			MB_RAM_SET.add("256");
			MB_RAM_SET.add("512");
		}
	}

	public static class ErrorValue {
		public static final String NOT_HAVE_COLLECTOR = "notHaveCollector";
		public static final String NOT_HAVE_SPU_STANDARD = "notHaveSpuStandard";

	}

}
